package util.parser;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Map;

public interface IParser {
	public static final String TITLE_KEY = "TITLE";
	public static final String AUTHOR_KEY = "AUTHOR";
	public static final String AUTHOR_NICK_KEY = "AUTHOR_NICK";
	public static final String BOARD_KEY = "BOARD";
	public static final String SITE_KEY = "SITE";
	public static final String CONTENT_KEY = "CONTENT";
	public static final String FILE_SIZE_KEY = "FILE_SIZE";
	
	public Map<String, String> getFileProperty(String fileName) 
		throws FileNotFoundException;

	public Map<String, String> getFileProperty(File file);
}
